package org.jeecg.modules.exProject.service;

import org.apache.commons.math3.analysis.function.Exp;
import org.jeecg.modules.exProject.entity.ExTenderProject;
import org.jeecg.modules.exProject.entity.ExSection;
import org.jeecg.modules.exProject.entity.ExProject;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.exProject.vo.ExProjectParam;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * @Description: 立项项目
 * @Author: jeecg-boot
 * @Date:   2024-08-31
 * @Version: V1.0
 */
public interface IExProjectService extends IService<ExProject> {

	/**
	 * 添加一对多
	 *
	 * @param exProject
	 * @param exTenderProjectList
	 * @param exSectionList
	 */
	public void saveMain(ExProject exProject,List<ExTenderProject> exTenderProjectList,List<ExSection> exSectionList) ;
	
	/**
	 * 修改一对多
	 *
	 * @param exProject
	 * @param exTenderProjectList
	 * @param exSectionList
	 */
	public void updateMain(ExProject exProject,List<ExTenderProject> exTenderProjectList,List<ExSection> exSectionList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

	boolean audit(ExProjectParam exProjectParam);

	List<ExProject> getByIds(List<String> projectIds);

}
